#include"SList.h"

void test1()
{
	SListNode* plist = NULL;
	SLPushBack(&plist, 1);
	SLPushBack(&plist, 2);
	SLPushBack(&plist, 3);
	SLPushBack(&plist, 5);
	SLPushBack(&plist, 6);
	SLPushBack(&plist, 7);
	SLPushBack(&plist, 8);
	SLPushBack(&plist, 9);
	SListNode* ret = SLFind(plist, 1);
	SLEraseAfter(ret);
	//for (int i = 1; i <= 4; i+=2)
	//{
	//	SLPrint(plist);
	//	
	//	//SLErase(&plist, ret);
	//	//SLInsertAfter(ret, 88);
	//	//printf("%d = %p\n", i, ret);
	//}
	SLPrint(plist);
}
int main()
{
	test1();


	return 0;
}


